import cv2
image=cv2.imread("123.jpg",cv2.IMREAD_GRAYSCALE)
cv2.imshow("123.jpg",image)
k=cv2.waitKey()
if k==ord('s'):
   cv2.imwrite("save_car.jpg",image)
cv2.destroyAllWindows()